/*
 * @Author: wfl
 * @LastEditors: wfl
 * @description: 
 * @updateInfo: 本次更新内容：
 * @Date: 2021-03-17 15:08:33
 * @LastEditTime: 2021-04-29 15:39:50
 */
export interface IConfigUrl{
    // 请求地址
    apiUrl: string
    // 上传地址
    uploadUrl: string
    // 加载文件地址
    loadUrl: string
    // 
    uploadChunkUrl: string
}

export interface Chunk {
    chunk: Blob;
    fileHash: string;
    md5AndFileNo: string;
    percentage: number;
    fileMd5No?: string
}

const baseUrl: IConfigUrl = {
    apiUrl: 'http://192.168.2.159:3033/',
    uploadUrl: 'http://192.168.2.159:3033/upload/',
    loadUrl: 'http://192.168.2.159:3033/assets/',
    uploadChunkUrl: 'http://192.168.2.159:3033/chunk/upload',
}

export default baseUrl;